package hy.dao;

import hy.beans.Product;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface ProductDao {
    List<Product> selectAllProduct();
    int updateProductNumById(Integer id,Integer num);
    void lockTable();
    void unLockTable();
}